package com.example.common.to.cart;

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@Setter
@Getter
public class UserInfoTo {


    private Long userId;

    private String userKey;

    // 未登录：true  登录：false
    private boolean login;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
